package com.mobile.service.dto;
import com.mobile.service.dto.base.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 流程表
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ProcessFlowDTO extends BaseDTO {
    @Schema(description = "流程记录唯一标识", accessMode = Schema.AccessMode.READ_ONLY)
    private Integer processId;

    @Schema(description = "关联工单ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer workOrderId;

    @Schema(description = "业务处理人ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private String processorId;

    @Schema(description = "当前审核状态", requiredMode = Schema.RequiredMode.REQUIRED)
    private String currentReviewStatus;

    @Schema(description = "申报人ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private String applicantId;

    @Schema(description = "预计审核时长（小时）", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer estimatedReviewDuration;

    @Schema(description = "实际审核时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private Date reviewTime;

    @Schema(description = "派工类型", requiredMode = Schema.RequiredMode.REQUIRED)
    private String dispatchType;

    @Schema(description = "派工人员ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private String dispatcherId;

    private String insuranceType;
    private String urgencyLevel;
    private String allocationReason;

    private String applicantPhone;
    private String applicantIdNumber;
    private String applicantName;

    private String createDate;

}
